include layout/header.jade
div.page-content
    div.modal-header
        h4.modal-title 添加类别
    form.form-horizontal(role="form",action="save",method="post")
        div.modal-body.row
            div.col-md-10.col-md-offset-1
                div.form-group
                    label.control-label.col-md-2 名字
                    div.col-md-8
                        input(type='hidden',name='id',value='#{type._id}')
                        input.form-control(placeholder='名字',name='name',value='#{type.name}')
        div.modal-footer
            div.col-md-10.col-md-offset-1
                div.col-md-8.col-md-offset-2
                    a.btn.green(href="./") 取消
                    button.btn.green(type="submit") 保存
script(type='text/javascript').
      aoColumnDefs = [];
include layout/footer.jade
